home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Shrinking Scroller.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
1KB
|
57 lines
[SUBJECT]
Description=Your message is initially expanded with extra spaces but then compressed to fit in the status bar
ImageIndex=-1
Folder=Text Effects
[HEAD_TEXT]
;<!-- Original: Aram Yegenian (yegeniana@hotmail.com) -->
;<!-- Web Site: http://aramyegenian.cjb.net -->
;
;<!-- This script and many more are available free online at -->
;<!-- The JavaScript Source!! http://javascript.internet.com -->
;
;<script language="JavaScript">
;<!-- Begin
;timeID = 5;
;stcnt = 11;
;msg = "`message`";
;wmsg = new Array(33);
;wmsg[0] = msg;
;blnk = " ";
;for (i = 1; i < 32; i++) {
;b = blnk.substring(0, i);
;wmsg[i] = "";
;for (j = 0; j < msg.length; j++) wmsg[i] = wmsg[i] + msg.charAt(j) + b;
;}
;function wiper() {
;if (stcnt > -1) str = wmsg[stcnt];
;else str = wmsg[0];
;if (stcnt-- < -40) stcnt = 31;
;status = str;
;clearTimeout(timeID);
;timeID = setTimeout("wiper()", `timeout`);
;}
;// End -->
;</script>
[BODY_TAG]
;onLoad="wiper()"
[`message`]
Kind=S
Value=<< Check out this Shrinking Scroller! >>
[`timeout`]
Kind=N
Value=150